package cn.com.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;








import cn.com.dao.InnvoationDao;
import cn.com.domain.Innvoation;

@Transactional
public class InnvoationService {

	private InnvoationDao innvoationDao;

	public void setInnvoationDao(InnvoationDao innvoationDao) {
		this.innvoationDao = innvoationDao;
	}

	public List<Innvoation> findAllInnvoation() {
	
		return innvoationDao.findAllInnvoation();
	}

	public void deleteIdInnvoation(Innvoation inn) {
		// TODO Auto-generated method stub
		innvoationDao.deleteIdInnvoation(inn);
	}

	public Innvoation findIdInnvoation(Integer inid) {
		// TODO Auto-generated method stub
		return innvoationDao.findIdInnvoation(inid);
	}



	public void saveInnvoation(Innvoation innvoation) {
		// TODO Auto-generated method stub
		innvoationDao.saveInnvaotion(innvoation);
	}

	public void updateInnvoation(Innvoation inn) {
		// TODO Auto-generated method stub
		innvoationDao.updateInnvoation(inn);
	}








	
}
